package day2test3;
//1,一个停车场,内有多个车位,可停入各种车辆
//2·只有具备车牌并高度低于
//3米的车辆可停入3,停入时开始计费,按每小时2元
//4,查询全部停车位的状态
//5,按车牌及停车位号取车,取车时收停车费,查询统计全部的收费记录

import java.io.Serializable;
import java.util.ArrayList;

public class Parkinglot implements Serializable{
/**
	 * 
	 */
	private static final long serialVersionUID = -8449417118767420328L;

private int space =200;//停车位

private ArrayList<String> record;//全部的收费记录
private double toll;//全部收费
private String[] idstate;//停车位编号 和 状态
 
public String[] getIdstate() {
	return idstate;
}
public void setIdstate(String[] idstate) {
	this.idstate = idstate;
}
public int getSpace() {
	return space;
}
public void setSpace(int space) {
	this.space = space;
}


public ArrayList<String> getRecord() {
	return record;
}
public void setRecord(ArrayList<String> record) {
	this.record = record;
}
public double getToll() {
	return toll;
}
public void setToll(Double toll) {
	this.toll = toll;
}
public Parkinglot(int space, ArrayList<String> record, Double toll,String [] idstate) {
	super();
	this.space = space;
	this.record = record;
	this.toll = toll;
	this.idstate = idstate;
}
public Parkinglot() {
	super();
	// TODO Auto-generated constructor stub
}


}
